﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StoreSQLSugar_API.Models
{
    public class User
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int UserId { get; set; }
        public string Account { get; set; }=string.Empty;
        public string Password { get; set; } = string.Empty;
        public int UserTypeId { get; set; }
        public string Remark { get; set; } = string.Empty;
        public int Status { get; set; } = 0;
        public int CreateUserId { get; set; }
        public DateTime CreateTime { get; set; } = DateTime.Now;
        public int? LastUpdateUserId { get; set; } = null;
        public DateTime? LastUpdateTime { get; set; } = null;

    }
}
